
$('.drwa-button3').click(
function(e){
	e.preventDefault();
	var commission=$('#commission').val();
	if(commission<200){
		$('#ddddd').css('display','block');
	}else{
		var drwa=$('#drwa-input').val();
		$('#drwa-span').text(drwa)
		$('.withdrawn').css('display','block');
	}




	}
	
)
$('.drwa-button1').click(
	function(){
		$('.shade').hide();
	}
)


function todrwa(){
	var commission=$('#commission').val();
	var drwa=$('#drwa-input').val();
	if(commission<drwa){
		wstMsg('可提现余额不足')
	}else{
		url=WST.U('WebApp/Agency/todrwa');
		var param={};
		param.drwa=drwa;
		$.post(url,param,function(data){
			console.log(data);
			if(data.status==1){
				location.href= WST.U('WebApp/Agency/Auditreflection');
			}
		})
	}
}


function Generalized(){
	location.href= WST.U('WebApp/Agency/Generalized');
}